package com.haoze.nurseapp.dto;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author zh
 * @version 1.0
 * @date 2020/8/12 15:10
 * @email 690378361@163.com
 */
@XmlRootElement(name = "info")
@XmlAccessorType(XmlAccessType.FIELD)
public class Info {

    @XmlElement(name = "order_id")
    private String orderId;
    /**
     * 一条警示信息的唯一标识，无论警示内容是否相同
     */
    @XmlElement(name = "info_id")
    private String infoId;
    /**
     *是否人工信息0：机审信息
     * 1：药师人工审核信息
     */
    @XmlElement(name = "info_type")
    private String infoType;
    /**
     *处方明细id系统运行核心关联字段，处方明细编号，单张处方内唯一
     */
    @XmlElement(name = "recipe_item_id")
    private String recipeItemId;
    /**
     *如果是西药/成药方，该字段返回原有组号。
     * 中药饮片无组号，该字段返回医嘱id。
     */
    @XmlElement(name = "group_no")
    private String groupNo;
    /**
     *系统运行核心关联字段，医院药品id，传入约定的药品编码
     */
    @XmlElement(name = "drug_id")
    private String drugId;
    /**
     *药品的通用名称
     */
    @XmlElement(name = "drug_name")
    private String drugName;
    /**
     *警示信息内容
     */
    @XmlElement(name = "error_info")
    private String errorInfo;
    /**
     *建议
     */
    @XmlElement(name = "advice")
    private String advice;
    /**
     *source
     */
    @XmlElement(name = "source")
    private String source;
    /**
     *对应的规则类型
     */
    @XmlElement(name = "rt")
    private String rt;
    /**
     *来源id
     */
    @XmlElement(name = "source_id")
    private String sourceId;
    /**
     *警示信息等级
     */
    @XmlElement(name = "severity")
    private Integer severity;
    /**
     *系统运行核心关联字段，相同警示内容的警示信息id，有可能相同
     */
    @XmlElement(name = "message_id")
    private String messageId;
    /**
     *警示信息类型
     */
    @XmlElement(name = "type")
    private String type;
    /**
     *警示信息分析类型
     */
    @XmlElement(name = "analysis_type")
    private String analysisType;
    /**
     *警示信息提示类型
     */
    @XmlElement(name = "analysis_result_type")
    private String analysisResultType;


    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getInfoId() {
        return infoId;
    }

    public void setInfoId(String infoId) {
        this.infoId = infoId;
    }

    public String getInfoType() {
        return infoType;
    }

    public void setInfoType(String infoType) {
        this.infoType = infoType;
    }

    public String getRecipeItemId() {
        return recipeItemId;
    }

    public void setRecipeItemId(String recipeItemId) {
        this.recipeItemId = recipeItemId;
    }

    public String getGroupNo() {
        return groupNo;
    }

    public void setGroupNo(String groupNo) {
        this.groupNo = groupNo;
    }

    public String getDrugId() {
        return drugId;
    }

    public void setDrugId(String drugId) {
        this.drugId = drugId;
    }

    public String getDrugName() {
        return drugName;
    }

    public void setDrugName(String drugName) {
        this.drugName = drugName;
    }

    public String getErrorInfo() {
        return errorInfo;
    }

    public void setErrorInfo(String errorInfo) {
        this.errorInfo = errorInfo;
    }

    public String getAdvice() {
        return advice;
    }

    public void setAdvice(String advice) {
        this.advice = advice;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getRt() {
        return rt;
    }

    public void setRt(String rt) {
        this.rt = rt;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public Integer getSeverity() {
        return severity;
    }

    public void setSeverity(Integer severity) {
        this.severity = severity;
    }

    public String getMessageId() {
        return messageId;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAnalysisType() {
        return analysisType;
    }

    public void setAnalysisType(String analysisType) {
        this.analysisType = analysisType;
    }

    public String getAnalysisResultType() {
        return analysisResultType;
    }

    public void setAnalysisResultType(String analysisResultType) {
        this.analysisResultType = analysisResultType;
    }
}
